Package com.fsf.news.model.html
Class HtmlElementTest
java.lang.Object
com.fsf.news.model.html.HtmlElementTest
Unit tests for the HtmlElement class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidTests that the toHtml method generates the expected HTML for a paired tag.(package private) voidTests that the toHtml method generates the expected HTML for a singular tag.(package private) voidTests that the toHtml method generates the expected HTML when properties are present.
-
Constructor Details
-
HtmlElementTest
HtmlElementTest()
-
-
Method Details
-
testToHtmlSingularTag
@Test void testToHtmlSingularTag()Tests that the toHtml method generates the expected HTML for a singular tag. -
testToHtmlPairedTag
@Test void testToHtmlPairedTag()Tests that the toHtml method generates the expected HTML for a paired tag. -
testToHtmlWithProperties
@Test void testToHtmlWithProperties()Tests that the toHtml method generates the expected HTML when properties are present.
-